/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ships.core.models;

import ships.core.ColorSpace;
import ships.core.Transparency;

/**
 *
 * @author fqhuy
 */
public abstract class ColorModel implements Transparency{
    protected int pixel_bits;
    int nBits[];
    int transparency = Transparency.TRANSLUCENT;
    boolean supportsAlpha = true;
    boolean isAlphaPremultiplied = false;
    int numComponents = -1;
    int numColorComponents = -1;
    ColorSpace colorSpace = ColorSpace.getInstance(ColorSpace.CS_sRGB);
    int colorSpaceType = ColorSpace.TYPE_RGB;
    int maxBits;
    boolean is_sRGB = true;

    public int getTransparency() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public boolean hasAlpha() {
        throw new UnsupportedOperationException("Not yet implemented");
    }
}
